package com.gztms.ordermgnt.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gztms.ordermgnt.pojo.Order;
import com.gztms.ordermgnt.pojo.VO.OrderVO;
import com.gztms.utils.ResultUtil;

import java.util.List;


/**
 * (SysOrder)表服务接口
 *
 * @author makejava
 * @since 2023-05-02 17:23:47
 */
public interface OrderService extends IService<Order> {
    ResultUtil addOrder(Order order);

    ResultUtil delOrderById(Long id);

    ResultUtil delOrderList(List<Long> orderIds);

    ResultUtil payOrderById(Long id);

    ResultUtil getOrderList(Integer pageNum, Integer pageSize, Integer status, Long id);

    ResultUtil getOrderDetail(Long id);

//    List<OrderVO> getOrderListByIds(List<Long> orderIds);

    List<OrderVO> getOrderListByIds(Long[] orderIds);

    List<OrderVO> getAllOrders();

    ResultUtil getOrdersByUid(Integer pageNum, Integer pageSize, Integer status, String uid);
}

